import { legacy_createStore as createStore, applyMiddleware, compose } from 'redux';
import {thunk} from 'redux-thunk';
import userReducer from '../reducers/userReducer';
const configStore = () => createStore(userReducer, compose(applyMiddleware(thunk)));

export default configStore;